Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IWorkbook Interface / UpdateLink Method / UpdateLink(String[],Func<IWorkbook,String,IWorksheet>) Method
The name of the links to be updated, as returned from the LinkSources. null is to update all links.
The resolver which will be invoked if the reference worksheet is missing.


In This Topic
    UpdateLink(String[],Func<IWorkbook,String,IWorksheet>) Method
    In This Topic
    Updates one or all links of this workbook.
    Syntax
    'Declaration
     
    
    Overloads Function UpdateLink( _
       Optional ByVal names() As String, _
       Optional ByVal missingWorksheetResolver As Func(Of IWorkbook,String,IWorksheet) _
    ) As Boolean
    'Usage
     
    
    Dim instance As IWorkbook
    Dim names() As String
    Dim missingWorksheetResolver As Func(Of IWorkbook,String,IWorksheet)
    Dim value As Boolean
     
    value = instance.UpdateLink(names, missingWorksheetResolver)

    Parameters

    names
    The name of the links to be updated, as returned from the LinkSources. null is to update all links.
    missingWorksheetResolver
    The resolver which will be invoked if the reference worksheet is missing.

    Return Value

    true if all links are updated successfully; otherwise false if there is at least one link is failed to update.
    Remarks
    When the UpdateLink(string) method is called without any parameters (or name is null/empty), Spread defaults to updating all worksheet links.
    See Also